package com.javaGather.demo;

public class Test2 {
    public static void main(String[] args) {
        LinkedListDemo<String> objectLinkedListDemo = new LinkedListDemo<>();
        objectLinkedListDemo.add("qwe");
        objectLinkedListDemo.add("asdf");
        System.out.println(objectLinkedListDemo.get(-1));
        System.out.println(objectLinkedListDemo.get(0));
        System.out.println(objectLinkedListDemo.get(1));
        System.out.println(objectLinkedListDemo.get(2));
    }
}
